#!/bin/sh
cp ./jni/libmirrorplayer/Android40_omxcodec.mk.release  ./jni/libmirrorplayer/Android.mk
cp ./jni/mirror/Android_23.mk.release ./jni/mirror/Android.mk
ndk-build

cp libs/armeabi-v7a/libmirror23_jni.so .
cp ./jni/libmirrorplayer/Android40_omxcodec.mk.release  ./jni/libmirrorplayer/Android.mk
cp ./jni/mirror/Android_40.mk.release ./jni/mirror/Android.mk
ndk-build

cp libs/armeabi-v7a/libmirror40_jni.so .
cp ./jni/libmirrorplayer/Android44_omxcodec.mk.release  ./jni/libmirrorplayer/Android.mk
cp ./jni/mirror/Android_44.mk.release ./jni/mirror/Android.mk
ndk-build

mv libmirror23_jni.so libs/armeabi-v7a/
mv libmirror40_jni.so libs/armeabi-v7a/